package com.zhz.lib.project.ibatis.dao.news;

import java.util.List;

import com.zhz.lib.project.ibatis.domain.news.News;

/**
 * @author LiWei <a href="mailto:liwei2672@gmail.com">liwei2672@gmail.com</a>
 * @version 创建时间：2010-5-12 下午08:45:19
 * 
 */
public interface NewsDAO {
    public News getNewsById(String id);

    public void newsHitPlusOne(String id);

    public List<News> getTopNews(int firstResult, int maxResults);
    
    public List<News> getLatestNews(int firstResult, int maxResults);
}
